/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.java.service;

import com.java.dao.Theloai3DAO;
import com.java.mapbean.Theloai3;
import java.util.List;

/**
 *
 * @author quan.nguyen
 */
public class TheLoai3Service extends Theloai3DAO {
    
    public Theloai3 findId(int id) {
        return findById(id);
    }
    
    public List<Theloai3> getAll() {
        return findAll();
    }
    
    public void saveTheLoai3(Theloai3 theloai3) {
        save(theloai3);
    }
    
    public void updateTheLoai3(Theloai3 theloai3) {
        update(theloai3);
    }
    
    public void deleteTheLoai3(Theloai3 theloai3) {
        delete(theloai3);
    }
}
